package com.edu.entity;

public class Reason {
	private int  id ;
	private String title; //标题
	private String author; //作者
	private String theme; // 主题
	private int targets; //目标金额
	private int collect; //募集金额
	private String img;  //路径
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getTheme() {
		return theme;
	}
	public void setTheme(String theme) {
		this.theme = theme;
	}
	public int getTargets() {
		return targets;
	}
	public void setTargets(int targets) {
		this.targets = targets;
	}
	public int getCollect() {
		return collect;
	}
	public void setCollect(int collect) {
		this.collect = collect;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public Reason(int id, String title, String author, String theme, int targets, int collect, String img) {
		super();
		this.id = id;
		this.title = title;
		this.author = author;
		this.theme = theme;
		this.targets = targets;
		this.collect = collect;
		this.img = img;
	}
	public Reason() {
		super();
	}
	@Override
	public String toString() {
		return "Reason [id=" + id + ", title=" + title + ", author=" + author + ", theme=" + theme + ", targets="
				+ targets + ", collect=" + collect + ", img=" + img + "]";
	}
	
	
}
